package chessGame.move;

import chessGame.utils.MoveUtils;
import chessLib.Position;

import java.util.Collection;

/**
 * @BelongsProject: chessGame
 * @BelongsPackage: chessLib
 * @CreateTime: 2025-10-08  20:26
 * @Description: 主教棋子移动
 * @Version: 1.0
 */
public class BishopMoveStrategy implements MoveStrategy{

    public final static int[][] MOVES = {{-1, -1}, {-1, 1}, {1, -1}, {1, 1}};

    @Override
    public Collection<Position> validMovesFor(Position pos) {
        return MoveUtils.pieceMoves(pos,MOVES);
    }

}
